package com.isoft.hospital.dao;

import com.isoft.hospital.entity.Bhuanzhe;
import com.isoft.hospital.entity.Jiuzhen1;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BhuanzheDao {
    @Select("select d_name, sum(p_id) huanzhecount from jiuzheng1  Group  by d_id")
    List<Bhuanzhe> selectBhuanzhe();


}
